package com.huawei;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;

/**
 * Created by Z-hong on 2024/7/4.
 */

public class HJ21 {

    public static void main(String[] args) {

        Map<Character,Character> map=new HashMap<>();
        map.put('a','2');
        map.put('b','2');
        map.put('c','2');
        map.put('d','3');
        map.put('e','3');
        map.put('f','3');
        map.put('g','4');
        map.put('h','4');
        map.put('i','4');
        map.put('j','5');
        map.put('k','5');
        map.put('l','5');
        map.put('m','6');
        map.put('n','6');
        map.put('o','6');
        map.put('p','7');
        map.put('q','7');
        map.put('r','7');
        map.put('s','7');
        map.put('t','8');
        map.put('u','8');
        map.put('v','8');
        map.put('w','9');
        map.put('x','9');
        map.put('y','9');
        map.put('z','9');


        Scanner sc=new Scanner(System.in);
        String str=sc.nextLine();
        char[] chars=str.toCharArray();
        for (int i = 0; i < chars.length; i++) {
            if(48<=(int)chars[i]&&(int)chars[i]<=57) continue;
            if(65<=(int)chars[i]&&(int)chars[i]<=90) {
                int temp=(int)chars[i]-'A';
                temp=(temp+1)%26;
                chars[i]=(char)(temp+'a');
            }else if(97<=(int)chars[i]&&(int)chars[i]<=122) {
                chars[i]=(map.get(chars[i]));
            }
        }

        System.out.println(String.valueOf(chars));
    }
}
